package com.shaozi.nc.bean.base;

import com.shaozi.utils.common.JsonUtil;

public class BaseSecretaryMsgBean {

	/**
	 * 小类
	 */
	private Integer sourceType;
	private Integer moduleType;
	private String fromUserId;
	private String toUserId;
	private String title;
	private String content;
	/**
	 * json 格式的其他附加消息
	 */
	private String extra;
	private Long updateTime;
	private Long insertTime;

	private Integer notifyType;
	private Integer isRead;
	private Long increaseId;

	public BaseSecretaryMsgBean() {

	}

	public Integer getSourceType() {
		return sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

	public String getFromUserId() {
		return fromUserId;
	}

	public void setFromUserId(String fromUserId) {
		this.fromUserId = fromUserId;
	}

	public String getToUserId() {
		return toUserId;
	}

	public void setToUserId(String toUserId) {
		this.toUserId = toUserId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getExtra() {
		return extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}

	public String toJsonString() {
		return JsonUtil.toJsonString(this);
	}

	public Integer getNotifyType() {
		return notifyType;
	}

	public void setNotifyType(Integer notifyType) {
		this.notifyType = notifyType;
	}

	public Integer getIsRead() {
		return isRead;
	}

	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Long getInsertTime() {
		return insertTime;
	}

	public void setInsertTime(Long insertTime) {
		this.insertTime = insertTime;
	}

	public Integer getModuleType() {
		return moduleType;
	}

	public void setModuleType(Integer moduleType) {
		this.moduleType = moduleType;
	}

	public Long getIncreaseId() {
		return increaseId;
	}

	public void setIncreaseId(Long increaseId) {
		this.increaseId = increaseId;
	}
}
